#ifndef COMPONENT_H
#define COMPONENT_H

#include "gameObject.h"

class Component : virtual public GameObject {
	private:
		cpBody* host_;

	public:
		Component(cpBody* host) : host_(host) {}
		virtual ~Component() {}
		
		inline bool isComponent() {return true;}

		inline cpBody* getHost() {return host_;}
		inline void setHost(cpBody* host) {host_ = host;}

		virtual void activate() {}
		virtual void deactivate() {}
};

#endif